package org.jeecg.modules.order.mapper;

import java.util.List;
import org.jeecg.modules.order.entity.KuybOrderPolicy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 订单和保单
 * @Author: jeecg-boot
 * @Date:   2021-09-09
 * @Version: V1.0
 */
public interface KuybOrderPolicyMapper extends BaseMapper<KuybOrderPolicy> {

	public boolean deleteByMainId(@Param("mainId") String mainId);
    
	public List<KuybOrderPolicy> selectByMainId(@Param("mainId") String mainId);

    Long count();
}
